package com.example.demo.Dao;

import com.example.demo.Entity.RiderEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RiderDao {
    public List<RiderEntity> get();
    public RiderEntity getByAccounts(String accounts);
    public int updateByAccounts(String accounts, String username,String password,String telephone,String license,String avatar,String gender,String status);
    public int addRider(String accounts, String username,String password,String telephone,String license,String avatar,String gender);
    public int deleteRider(String accounts);
}
